<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>

</head>
</head>
<body>
<div id="app">
 控件的绑定
  <p><input type="text" v-model="book" placeholder="请输入书籍"/></p>
  <p>我最喜欢的书籍:{{book}}</p>
  <p><textarea rows="5" cols="35" placeholder="快来编辑我啊" style="width: 200px;" v-model="book"></textarea></p>

</div>
<!-- 1:引包 -->
<script type="text/javascript" src="../../node_modules/vue/dist/vue.js"></script>
<script type="text/javascript">
  new Vue({
    el: "#app",
    data: {
     book:"西游"
    },
    methods: {

    }

  })
</script>
</body>
</html>
